package com.fs.sw.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
@ApiModel
public class ResultBO<T> implements Serializable {

	private static final long serialVersionUID = 7632110308376978265L;
	
	@ApiModelProperty(value="执行状态", name = "head")
	private HeadBO head = new HeadBO();

	@ApiModelProperty(value="数据集", name = "body")
	private T body;

	public HeadBO getHead() {
		return head;
	}

	public void setHead(HeadBO head) {
		this.head = head;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}

    @Override
    public String toString() {
        return "ResultBO [head=" + head + ", body=" + body + "]";
    }

	
}